<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
    div{
        width: 200px;
        height: 200px;
        background: red;
        transition: all 1s ease-out;
    }
    div:hover{
        transform: translate(400px,400px) scale(0.5,2);
        transform-origin: 50px;/* 中心点*/
      
    }
</style>
</head>
<body>
    <div></div>
</body>
</html>